package com.myspring.web.route;

import com.myspring.web.route.domain.BaseResponse;
import com.myspring.web.route.domain.LoanRequest;
import com.myspring.web.route.domain.LoanResponse;
import org.springframework.stereotype.Component;

/**
 * @author : zenghua
 * @version : v0.1 DefaultChannelService.java
 * @since : 2017/8/24 10:35
 */
@Component("defaultChannelService")
public class DefaultChannelService implements ChannelService {

	private ChannelService delegateChannelService;

	@Override
	public BaseResponse<LoanResponse> load(LoanRequest loanRequest) {
		System.out.println("DefaultChannelService.loan()");
		delegateChannelService.load(loanRequest);
		return null;
	}
}
